/*
 * Copyright (c) 2025/5/5 彭友聪
 * TxtEdit is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2. 
 * You may obtain a copy of Mulan PSL v2 at:
            http://license.coscl.org.cn/MulanPSL2 
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, 
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.  
 * See the Mulan PSL v2 for more details.  
 * 
 * Author: 彭友聪 
 * email：2923616405@qq.com 
 * date: 2025/5/5 08:54
 * file: ${FILE_NAME}
 * product: DevEco Studio
 * */
//
// Created on 2025/5/5.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef TXTEDIT_FILEMETA_H
#define TXTEDIT_FILEMETA_H

#include <string>
class FileMeta {
private:
    char* name;
    char* create_date;
    char* author;
    int size;
public:
    FileMeta(char* name, char* create_date, char* author, int size);
    
    char *getAuthor();
    void setAuthor(char *author);
    char *getCreate_Date();
    void setCreate_Date(char *create_date);
    char *getName();
    void setName(char *name);
    int getSize();
    void setSize(int size);
};
    

#endif //TXTEDIT_FILEMETA_H
